<template>
  <div>
    <h2>为事件处理函数传递参数</h2>
  <button @click="one">按钮1</button>
   <button @click="two(7,8)">按钮1</button>
  </div>
</template>

<script>
export default {
  methods: {
  one(e){
   console.log(e.target)
  },
  two(m,n){
console.log(m+n)
  }
  }
 
}
</script>

<style>
h2{
  color: aquamarine;
}
</style>

